#
#	El manager v.0.01 - Derivart (http://www.derivart.info)
#	@Coded: Mar Cane / Martin Nadal (2009)
#
import os
import platform

class osDetector():
    def __init__(self):
        self.release = platform.release()
        self.platform = platform.system()
        self.name = os.name

    def getOSPlatform(self):
        if(self.platform=="Darwin"):
            os = "mac"
        elif(self.platform=="Windows"):
            os = "win"
        else:
            os = "linux"
        return os
